<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		[title] {
			color: green;
		}

		a[href][title] {
			font-size: 36px;
		}

		p[align="center"] {
			color: red;
			font-weight: bolder;
		}
	</style>
</head>
<body>
	<h2>应用属性选择器样式：</h2>
	<h3 title="hello-world">Hello World</h3>
	<a href="#" title="首页">返回首页</a><br><br>
	<p align="center">段落一</p>
	<hr>

	<h2>没有应用属性选择器样式：</h2>
	<h3>Hello World</h3>
	<a href="#">返回首页</a><br><br>
	<p align="right">段落二</p>
</body>
</html>